package com.meituan.catering.management.product.biz.service;

import com.meituan.catering.management.common.model.biz.UserContextBO;
import com.meituan.catering.management.product.api.http.model.request.CreateProductHttpRequest;
import com.meituan.catering.management.product.api.http.model.request.DisableProductHttpRequest;
import com.meituan.catering.management.product.api.http.model.request.EnableProductHttpRequest;
import com.meituan.catering.management.product.api.http.model.request.UpdateProductHttpRequest;
import com.meituan.catering.management.product.biz.model.ProductBO;

/**
 * 商品 操作接口
 */
public interface ProductOperateService {
    ProductBO create(UserContextBO userContextBO, CreateProductHttpRequest request);

    ProductBO update(UserContextBO userContextBO, Long id, UpdateProductHttpRequest request);

    ProductBO enable(UserContextBO userContextBO, Long id, EnableProductHttpRequest request);

    ProductBO disable(UserContextBO userContextBO, Long id, DisableProductHttpRequest request);
}
